.class public Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;
.super Lcom/waiqin365/lightapp/kehu/view/CMCustomView;


# instance fields
.field protected a:Landroid/widget/EditText;

.field protected b:Landroid/widget/TextView;

.field protected c:Landroid/view/View;

.field protected d:Landroid/view/View;

.field protected e:Landroid/view/View;

.field protected f:Z

.field protected g:Lcom/waiqin365/lightapp/syorder/view/ai;

.field protected h:Ljava/lang/String;

.field protected i:I

.field protected s:Ljava/lang/String;

.field protected t:Z

.field protected u:Landroid/content/Context;

.field protected v:Z

.field protected w:Ljava/lang/String;

.field protected x:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 10

    const/high16 v3, 0x41800000    # 16.0f

    const/4 v2, 0x1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->f:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->w:Ljava/lang/String;

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->x:Z

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->u:Landroid/content/Context;

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f030247

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0c0083

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->c:Landroid/view/View;

    const v0, 0x7f0c0086

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->d:Landroid/view/View;

    const v0, 0x7f0c005a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->e:Landroid/view/View;

    const v0, 0x7f0c02ce

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/view/af;

    invoke-direct {v1, p0, p1}, Lcom/waiqin365/lightapp/syorder/view/af;-><init>(Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;Landroid/content/Context;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/view/ag;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/view/ag;-><init>(Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    const v0, 0x7f0c02cd

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->d:Landroid/view/View;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/view/ah;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/view/ah;-><init>(Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    if-eqz p2, :cond_3

    sget-object v0, Lcom/fiberhome/gaea/client/base/g;->customText:[I

    invoke-virtual {p1, p2, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;

    move-result-object v0

    invoke-virtual {v0, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F

    move-result v1

    const/4 v2, 0x6

    invoke-virtual {v0, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F

    move-result v2

    const/4 v3, 0x2

    const v4, -0xe5e5e6

    invoke-virtual {v0, v3, v4}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v3

    const/4 v4, 0x4

    const v5, -0x333334

    invoke-virtual {v0, v4, v5}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v4

    const/4 v5, 0x7

    const v6, -0x7f7f80

    invoke-virtual {v0, v5, v6}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v5

    const/4 v6, 0x0

    invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;

    move-result-object v6

    const/4 v7, 0x3

    invoke-virtual {v0, v7}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;

    move-result-object v7

    const/4 v8, 0x5

    invoke-virtual {v0, v8}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;

    move-result-object v8

    iget-object v9, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v9, v1}, Landroid/widget/EditText;->setTextSize(F)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v1, v3}, Landroid/widget/EditText;->setTextColor(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v1, v4}, Landroid/widget/EditText;->setHintTextColor(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setTextColor(I)V

    if-eqz v6, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v1, v6}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    if-eqz v7, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v1, v7}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    :cond_1
    if-eqz v8, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v8}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V

    :cond_3
    return-void
.end method

.method private static a(C)Z
    .locals 1

    if-eqz p0, :cond_2

    const/16 v0, 0x9

    if-eq p0, v0, :cond_2

    const/16 v0, 0xa

    if-eq p0, v0, :cond_2

    const/16 v0, 0xd

    if-eq p0, v0, :cond_2

    const/16 v0, 0x20

    if-lt p0, v0, :cond_0

    const v0, 0xd7ff

    if-le p0, v0, :cond_2

    :cond_0
    const v0, 0xe000

    if-lt p0, v0, :cond_1

    const v0, 0xfffd

    if-le p0, v0, :cond_2

    :cond_1
    const/high16 v0, 0x10000

    if-lt p0, v0, :cond_3

    const v0, 0x10ffff

    if-gt p0, v0, :cond_3

    :cond_2
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_3
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static a(Ljava/lang/String;)Z
    .locals 4

    const/4 v0, 0x0

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v2

    move v1, v0

    :goto_0
    if-ge v1, v2, :cond_0

    invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C

    move-result v3

    invoke-static {v3}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a(C)Z

    move-result v3

    if-nez v3, :cond_1

    const/4 v0, 0x1

    :cond_0
    return v0

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method


# virtual methods
.method public c()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public c_()Z
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->w:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public d()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public e()V
    .locals 1

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->w:Ljava/lang/String;

    return-void
.end method

.method public m()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->h:Ljava/lang/String;

    return-object v0
.end method

.method public n()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->e()V

    return-void
.end method

.method public setBottomLineStatus(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->e:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public setCode(Ljava/lang/String;)V
    .locals 1

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->h:Ljava/lang/String;

    const-string/jumbo v0, "linkman_mobile"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "linkman_office_tel"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "qq"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "fax"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const/4 v0, 0x3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->setInputType(I)V

    :cond_1
    return-void
.end method

.method public setContentColor(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setTextColor(I)V

    return-void
.end method

.method public setContentSize(F)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setTextSize(F)V

    return-void
.end method

.method public setEdit(Z)V
    .locals 2

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->f:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setFocusable(Z)V

    if-nez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSingleLine(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->c:Landroid/view/View;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->d:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSingleLine(Z)V

    goto :goto_0
.end method

.method public setHasFilter(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->x:Z

    return-void
.end method

.method public setHint(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setInputType(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setInputType(I)V

    return-void
.end method

.method public setIsFilterEmoji(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->v:Z

    return-void
.end method

.method public setLabel(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setLabelWidth(F)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, p1}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method public setMaxlen(Ljava/lang/String;)V
    .locals 5

    const/4 v4, 0x0

    invoke-static {p1, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    if-lez v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    const/4 v2, 0x1

    new-array v2, v2, [Landroid/text/InputFilter;

    new-instance v3, Landroid/text/InputFilter$LengthFilter;

    invoke-direct {v3, v0}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V

    aput-object v3, v2, v4

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setFilters([Landroid/text/InputFilter;)V

    :cond_0
    return-void
.end method

.method public setMustIgnoreEdit(Ljava/lang/String;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->c:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public setMustinput(Ljava/lang/String;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->f:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->c:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public setOnTextChangedListener(Lcom/waiqin365/lightapp/syorder/view/ai;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->g:Lcom/waiqin365/lightapp/syorder/view/ai;

    return-void
.end method

.method public setPadding(IIII)V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v1

    int-to-float v2, p1

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v2

    int-to-float v3, p2

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v3

    int-to-float v4, p3

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v4

    int-to-float v5, p4

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v1

    int-to-float v2, p1

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v2

    int-to-float v3, p2

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v3

    int-to-float v4, p3

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v4

    int-to-float v5, p4

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/EditText;->setPadding(IIII)V

    return-void
.end method

.method public setTitleSize(F)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextSize(F)V

    return-void
.end method

.method public setValue(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    if-eqz p1, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->w:Ljava/lang/String;

    :cond_0
    return-void
.end method

.method public setViewIgnore(Z)V
    .locals 1

    if-eqz p1, :cond_0

    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->setVisibility(I)V

    goto :goto_0
.end method
